﻿<Window x:Class="Samba.Presentation.Common.Interaction.GridEditorForm"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:PropertyEditorLibrary="clr-namespace:PropertyTools.Wpf;assembly=PropertyTools.Wpf" mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" WindowStyle="ToolWindow" WindowStartupLocation="CenterScreen" ShowInTaskbar="False">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <GroupBox Header="{LocText Properties, Suffix=':'}" Margin="5" Padding="3">
            <PropertyEditorLibrary:SimpleGrid Name="MainGrid"/>
        </GroupBox>

        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="5" MinHeight="30">
            <Button Content="{LocText Details}" Margin="3" MinWidth="70" Click="ButtonClick"></Button>
            <Button Content="{LocText OK}" Margin="3" MinWidth="70" Click="Button_Click_1"></Button>
        </StackPanel>
    </Grid>
</Window>
